package cc.rengu.redp.bizimpl.csmc.dao;

import cc.rengu.redp.bizimpl.igas.bean.RoleAcctInfo;
import cc.rengu.redp.bizimpl.igas.bean.SettleInstructionInfo;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Konghongdong
 */
@Repository
@DS("csmc")
public interface RoleAcctInfoMapper extends BaseMapper<RoleAcctInfo> {
    /**
     * 查询 获取角色账户列表
     * @param instId
     * @return
     */
    List<RoleAcctInfo> findRoleAcctInfoListByUK(String instId);

    /**
     * 查询 清算指令
     * @param instId
     * @return
     */
//    List<SettleInstructionInfo> findSettleInstructionInfoListByUK(String instId,String settleDate,String debitRoleId,String debitSettleAcctId,String creditRoleId,String creditSettleAcctId);
    List<SettleInstructionInfo> findSettleInstructionInfoListByUK(String instId, String settleDate, String debitSettleAcctId, String creditSettleAcctId);
}
